package com.mls.fivedistrict.entity.request;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 修改手机号
 * Created by chenxiuxiang on 2018/5/18.
 */
@Getter
@Setter
public class ChangePhoneRequest{
    private Long userId;

    /**
     * 新手机号
     */
    @NotEmpty(message = "新手机号不能为空")
    private String newPhone;

    /**
     * 旧手机号验证码
     */
    @NotEmpty(message = "旧手机号验证码不能为空")
    private String oldCaptcha;

    /**
     * 新手机号验证码
     */
    @NotEmpty(message = "新手机号验证码不能为空")
    private String newCaptcha;
}
